import Vue from 'vue'
import App from './App'

import router from './router'
import  './base/js/base.js'
import './filter.js'
import Vum from './vum'
import store from './store'


Vue.config.productionTip = false
/*滑动事件*/
import VueTouch from 'vue-touch'
Vue.use(VueTouch, {name: 'v-touch'});

/**饿了么mini-UI*/
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css';
Vue.use(Mint);

Vue.use(Vum)

/*图片懒加载*/
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
    preLoad: 1.3,
    loading: require('@/assets/head.jpg'),
    attempt: 1
})

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
